/*
 * $Id: Panel.java 131 2009-05-13 15:58:43Z meyer@alphatec.de $
 * 
 *
 * Copyright 2009 DeltaDesk
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 * implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package deltadesk.gui.deltagui.widget;

import deltadesk.gui.deltagui.layout.GridLayout;

/**
 * Panel.
 * 
 * @author Andreas Meyer
 * @version $Revision: 131 $
 */
public class Panel extends Composite {

	{
		setInsets(10, 10, 10, 10, 10);
	}

	/**
	 * Construct the panel.
	 */
	public Panel() {
		setLayout(new GridLayout());
	}
	
	/**
	 * Construct the panel.
	 * 
	 * @param num
	 */
	public Panel(final int num) {
		setLayout(new GridLayout(num));
	}

	/**
	 * Construct the panel.
	 * 
	 * @param rows
	 * @param cols
	 */
	public Panel(final int rows, final int cols) {
		setLayout(new GridLayout(rows, cols));
	}

}
